<?php
/**
 * The template for displaying article headers
 *
 * @since 3.0.0
 */
global $mb_content_area;
?>
<hgroup>
    <h2 class="entry-title">
        <?php if ( !is_singular() || 'sidebar' == $mb_content_area ) { ?>
            <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'magazine-basic' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark">
            <?php } ?>
            <?php the_title(); ?>
            <?php
            if ( !is_singular() || 'sidebar' == $mb_content_area )
                echo '</a>';
            ?>
    </h2>  
</hgroup>
